import { Service } from "cl-admin";
import BaseService from "@/service/base";
@Service("case")
class Case extends BaseService {
  //案例列表
  getCaselist(params) {
    return this.$get("/lists", { params });
  }

  //案例新增
  addCase(params) {
    return this.$post("/add", params);
  }

  //案例编辑
  editCase(params) {
    return this.$post("/edit", params);
  }

  //案例删除
  delCase(param) {
    return this.$post("/del", param);
  }
}
export default Case
